//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-04A
TN_Widget.CreateTable([['New Found Glory','House Of Blues - Orlando','Orlando, FL','Friday','8/16/2024','7:30 PM','6317212','New-Found-Glory-8-16-2024'],['New Found Glory','Heaven Stage at Masquerade - GA','Atlanta, GA','Saturday','8/17/2024','6:30 PM','6317214','New-Found-Glory-8-17-2024'],['New Found Glory','The Ritz - Raleigh','Raleigh, NC','Sunday','8/18/2024','7:30 PM','6317216','New-Found-Glory-8-18-2024'],['New Found Glory','The Fillmore Silver Spring','Silver Spring, MD','Monday','8/19/2024','7:30 PM','6317220','New-Found-Glory-8-19-2024'],['New Found Glory','Paramount Theatre - Huntington','Huntington, NY','Wednesday','8/21/2024','7:30 PM','6317228','New-Found-Glory-8-21-2024'],['New Found Glory','The Fillmore - Philadelphia','Philadelphia, PA','Thursday','8/22/2024','7:30 PM','6317229','New-Found-Glory-8-22-2024'],['New Found Glory','Roadrunner','Brighton, MA','Friday','8/23/2024','7:30 PM','6317241','New-Found-Glory-8-23-2024'],['New Found Glory','Stone Pony Summer Stage','Asbury Park, NJ','Saturday','8/24/2024','6:30 PM','6317231','New-Found-Glory-8-24-2024'],['New Found Glory','Buffalo Riverworks','Buffalo, NY','Sunday','8/25/2024','7:30 PM','6318503','New-Found-Glory-8-25-2024'],['New Found Glory','The Fillmore - Detroit','Detroit, MI','Tuesday','8/27/2024','7:30 PM','6317233','New-Found-Glory-8-27-2024'],['New Found Glory','KEMBA Live!','Columbus, OH','Wednesday','8/28/2024','6:30 PM','6317244','New-Found-Glory-8-28-2024'],['New Found Glory','Agora Theatre','Cleveland, OH','Thursday','8/29/2024','7:30 PM','6317246','New-Found-Glory-8-29-2024'],['New Found Glory','The Pageant','St. Louis, MO','Friday','8/30/2024','7:30 PM','6317234','New-Found-Glory-8-30-2024'],['New Found Glory','Marathon Music Works','Nashville, TN','Sunday','9/1/2024','7:30 PM','6317235','New-Found-Glory-9-1-2024'],['New Found Glory','House Of Blues - Dallas','Dallas, TX','Friday','10/11/2024','7:30 PM','6317236','New-Found-Glory-10-11-2024'],['New Found Glory','Marquee Theatre - AZ','Tempe, AZ','Sunday','10/13/2024','7:30 PM','6322119','New-Found-Glory-10-13-2024'],['New Found Glory','The Observatory - North Park','San Diego, CA','Tuesday','10/15/2024','7:30 PM','6317237','New-Found-Glory-10-15-2024'],['New Found Glory','The Wiltern','Los Angeles, CA','Wednesday','10/16/2024','7:30 PM','6317238','New-Found-Glory-10-16-2024'],['New Found Glory','House Of Blues - Anaheim','Anaheim, CA','Thursday','10/17/2024','6:30 PM','6317239','New-Found-Glory-10-17-2024'],['New Found Glory','The Masonic - San Francisco','San Francisco, CA','Friday','10/18/2024','7:30 PM','6318300','New-Found-Glory-10-18-2024'],['New Found Glory','The Depot - Salt Lake City','Salt Lake City, UT','Tuesday','10/22/2024','6:30 PM','6317240','New-Found-Glory-10-22-2024'],['New Found Glory','The Mission Ballroom','Denver, CO','Wednesday','10/23/2024','7:30 PM','6317247','New-Found-Glory-10-23-2024'],['New Found Glory','The Fillmore Silver Spring','Silver Spring, MD','Monday','6/2/2070','TBD','4395697','New-Found-Glory-6-2-2070']],'New Found Glory','http://www.ticketnetwork.com/ticket/New-Found-Glory-events.aspx');